<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{$title|default="我的"} - 用户中心</title>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/default/css/main.css">
    <script type="text/javascript" src="__PUBLIC__/Home/default/js/jquery.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Home/default/js/base.js"></script>
    <!-- <script type="text/javascript" src="__PUBLIC__/Home/default/js/upload.js"></script> -->
    <script type="text/javascript" src="__PUBLIC__/Home/default/js/jquery.form.js"></script>
    <!-- 额外的css -->
    <block name="css"></block>
    <!-- 用户中心继承 -->
</head>

<body class="user-page">
    <div class="container-outer banner"></div>
    <div class="container-outer">
        <div class="container-inner">
            <div class="navi">
                <div class="box-title">
                    <div>用户中心</div>
                </div>
                <div class="box-inner">
                    <div class="side-navi">
                        <a href="{:U('MyVideo/index')}" class="clickable"><i class="icon-upload"></i>我的视频</a>
                        <a href="{:U('MyVideo/choose_game')}" class="clickable"><i class="icon-upload"></i>投稿</a>
                        <a href="{:U('User/logout')}" class="clickable"><i class="icon-upload"></i>退出</a>
                    </div>
                </div>
            </div>
            <div class="container-grid-layout">
                <block name="body"></block>
            </div>
        </div>
    </div>
</body>
<!-- 额外的javascript -->
<block name="script"></block>
<script type="text/javascript">
$(function() {
    var navlist = $('.side-navi a'), loc = location.href;
    navlist.each(function() {
        var href = $(this).attr('href');
        if (loc.indexOf(href) > -1) {
            $(this).addClass('active');
        }
    })
})
</script>
</html>